package com.mlc.data.dao;

import com.mlc.data.entity.Users;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @author FireWang
 * @date 2022/03/14 02:43:39
 */
public interface UsersDao extends JpaRepository<Users, Integer>, JpaSpecificationExecutor {
    List<Users> findByPhone(String phone);
    List<Users> findByUserName(String userName);
    List<Users> findByOpenId(String openId);
}
